﻿using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CharmL {
    public class MyStopWatch : Stopwatch, IDisposable {
        
        public MyStopWatch() {
            this.Start();
        }

        
        //    this.Stop();
        //    Console.WriteLine(this.ElapsedMilliseconds);
        //}

        void IDisposable.Dispose() {
            this.Stop();
            Console.WriteLine(this.ElapsedMilliseconds);
        }
    }
}
